import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
import store from './store'
import initModal from "@/components/show-modal/initModal.js"
import showModal from "@/components/show-modal/show-modal.vue"
import {apiPost} from "./common/api/index.js"
Vue.config.productionTip = false
initModal(Vue);
Vue.component('show-modal',showModal);
App.mpType = 'app'
Vue.prototype.$store = store;
Vue.prototype.$api = apiPost;
const app = new Vue({
  ...App,
  store
})
app.$mount()
